/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Army;

import GameObject.Sprite;
import java.awt.Point;
import java.awt.image.BufferedImage;

/**
 *
 * @author Huy
 */
public class Arrow extends Bullet{

	public static BufferedImage SPRITE;
	public static int N_ROW;
	public static int N_COL;
	public Arrow(int team,Point pos,double ratation,int damage,double  speed,double  range) {
		this.team = team;
		sprite = new Sprite(SPRITE, 1, 1, pos.x, pos.y);
		isHited = false;
		sprite.setInnerPoint(new Point(2, 0));
		sprite.setRotation(ratation);
		this.speed = speed;
		this.range = range;
		this.damage = damage;
		size = 2;
		liveTime = 20;
	}
	
}
